<!DOCTYPE html>
<html  class="iframe-h">
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>后台管理</title>
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/admin.css"/>
<style>
.layui-table th{ text-align:right;}
</style>
</head>
<body class="iframe-h" style="background:#FFF;">
<div class="email-content" style="padding:10px;">  
  <div class="layui-form">
    
    <table class="layui-table" lay-even lay-skin="nob">
      <colgroup>
      <col width="150">
      <col>
      </colgroup>
      <tbody>
       <tr>
       	<th>批次号：</th>
        <td>{$info.order_no}</td>
       </tr> 
       
       <tr>
       	<th>提单类型：</th>
        <td>{$info.type_text}</td>
       </tr> 
       
       <tr>
       	<th>提单人：</th>
        <td>{$info.mid|get_member_field}</td>
       </tr> 
       <tr>
       	<th>代理商：</th>
        <td>{$info.aid|get_member_field='name'}</td>
       </tr> 
       
       <tr>
       	<th>应收金额：</th>
        <td>{$info.receivable}</td>
       </tr> 
       
       <tr>
       	<th>实收金额：</th>
        <td>{$info.receipts}</td>
       </tr> 
       
       <tr>
       	<th>状态：</th>
        <td>{$info.status_text}</td>
       </tr> 
       
       <tr>
       	<th>申请时间：</th>
        <td>{$info.ctime|time_format}</td>
       </tr> 
       
       {if condition="$info['rtime'] gt 0"}
       <tr>
       	<th>审核时间：</th>
        <td>{$info.rtime|time_format}</td>
       </tr> 
       {/if}
       
       <tr>
       	<th>备注：</th>
        <td>{$info.remark}</td>
       </tr> 
       
       {if condition="$info['type'] gt 0 && $info['code_url'] neq ''"}
       <tr>
       	<th>支付二维码：</th>
        <td><img src="{$info.code_url}" height="80"></td>
       </tr> 
       {/if}
      </tbody>
    </table>

    
  </div>
</div>
<script src="__STATIC__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script> 
<script src="__STATIC__/admin/layui/layui.js" type="text/javascript" charset="utf-8"></script> 
<script src="__STATIC__/js/common.js" type="text/javascript" charset="utf-8"></script> 
<script>
		layui.use(['form', 'laypage', 'jquery','layer'], function() {
				layer = layui.layer,
					$ = layui.jquery;
					
				$('.go_btn').on('click',function(){
					var url=$(this).attr('data-url');
					get_data(url,true);
					return false;
				})
				
				$('.bak_btn').on('click',function(){
					var url=$(this).attr('data-url');
					
					layer.prompt({title: '请填写拒绝的原因，并确认', formType: 2}, function(text, index){
						layer.close(index);
						url = conv_url(url)+'reply='+text;
						get_data(url,true);
					});
					
					return false;
				})	
				
		});
</script>
</body>
</html>